home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / E-G / Externals.cpt / Externals / card_6277.txt < prev    next >
Text File  |  1989-02-26  |  855b  |  27 lines

  1. -- card: 6277 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2795
  5. -- name: StdFile
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10. XCMD
  11.  
  12. -- part contents for background part 22
  13. ----- text -----
  14. StdFile(file path)
  15.  
  16. -- part contents for background part 13
  17. ----- text -----
  18. Standard File Package Positioning
  19.  
  20. This XCMD is called ‚ÄúStdFile‚Äù¬†and takes a single parameter: the path to the volume or folder where the Standard File Package‚Äôs Open and Save dialog boxes should be positioned. 
  21. For instance:
  22.                                                       StdFile("HD:Telecom:")
  23.  
  24. The command will beep if an error is encountered, and take no further action.
  25.  
  26. HyperCard seems to have the habit of resetting Standard File‚Äôs positioning in its idle handler, so it‚Äôs a good idea to call this XCMD just before you need it.
  27.